<div class="faq list">
  <h2>FAQs</h2>
  
  <table class="listing" summary="Faq list">
<% @faqs.each do |faq| %>
    <tr class="row">
      <td>Question</td> 
<td><%= faq.question %></td>
<td class="actions">
        <%= link_to("Edit", {:action => 'edit', :id => faq.id}, :class => 'action edit') %>
        <%= link_to("Delete", "{:action => 'delete', :id => faq.id}", :class => 'action delete') %>
      </td></tr>
    <tr class="row">
      <td>Answer</td> 
<td><%= faq.answer %></td> </tr>
      

    
 

    <% end %>
  </table>
</div>
